#
cacc0b26 |
|
14-Mar-2024 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest container image This moves us to our latest container image, which is now based on the current "Jammy" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96afd8a3 |
|
10-Mar-2024 |
Tom Rini <trini@konsulko.com> |
CI: Update to using clang-17 Currently, llvm-17 is the stable release. Update our container and CI to fetch and use that. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
20a0ce57 |
|
11-Mar-2024 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2024.04-rc4' into next Prepare v2024.04-rc4
|
#
8f31c85c |
|
22-Feb-2024 |
Sumit Garg <sumit.garg@linaro.org> |
CI: Exclude devicetree-rebasing subtree for CONFIG checks Since devicetree-rebasing is an external repo with its own coding style, exclude it from Azure and gitlab CI CONFIG checks. Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Sumit Garg <sumit.garg@linaro.org> |
#
cb59ca30 |
|
13-Feb-2024 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest container image This moves us to our latest container image, which is now based on the current "Jammy" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3a79c91f |
|
13-Feb-2024 |
Tom Rini <trini@konsulko.com> |
CI: Switch to using coreboot from our image Instead of downloading coreboot binaries from a Google drive location, use the ones we have built ourselves. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b8f7b374 |
|
17-Jan-2024 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
56ea7c8b |
|
26-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI, pytest: Add a test for sandbox without LTO The primary motivation for having a sandbox without LTO build in CI is to ensure that we don't have that option break. We now have the ability to run tests of specific options being enabled/disabled, so drop the parts of CI that build and test that configuration specifically and add a build test instead. We still test that "NO_LTO=1" rather than editing the config file works via the ftrace tests. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a966634e |
|
24-Oct-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: use OpenSBI 1.3.1 for testing Use the most recent upstream release of OpenSBI for CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
d6b3297d |
|
23-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI: Re-enable maintainer check At this point we have all of the defconfigs maintained again, so re-enable the check to prevent further regressions. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
This contributor prefers not to receive mails <noreply@example.com> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
This contributor prefers not to receive mails <noreply@example.com> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
cb59ca30 |
|
13-Feb-2024 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest container image This moves us to our latest container image, which is now based on the current "Jammy" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3a79c91f |
|
13-Feb-2024 |
Tom Rini <trini@konsulko.com> |
CI: Switch to using coreboot from our image Instead of downloading coreboot binaries from a Google drive location, use the ones we have built ourselves. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b8f7b374 |
|
17-Jan-2024 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
56ea7c8b |
|
26-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI, pytest: Add a test for sandbox without LTO The primary motivation for having a sandbox without LTO build in CI is to ensure that we don't have that option break. We now have the ability to run tests of specific options being enabled/disabled, so drop the parts of CI that build and test that configuration specifically and add a build test instead. We still test that "NO_LTO=1" rather than editing the config file works via the ftrace tests. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a966634e |
|
24-Oct-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: use OpenSBI 1.3.1 for testing Use the most recent upstream release of OpenSBI for CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
d6b3297d |
|
23-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI: Re-enable maintainer check At this point we have all of the defconfigs maintained again, so re-enable the check to prevent further regressions. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
This contributor prefers not to receive mails <noreply@example.com> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
This contributor prefers not to receive mails <noreply@example.com> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b8f7b374 |
|
17-Jan-2024 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
56ea7c8b |
|
26-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI, pytest: Add a test for sandbox without LTO The primary motivation for having a sandbox without LTO build in CI is to ensure that we don't have that option break. We now have the ability to run tests of specific options being enabled/disabled, so drop the parts of CI that build and test that configuration specifically and add a build test instead. We still test that "NO_LTO=1" rather than editing the config file works via the ftrace tests. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a966634e |
|
24-Oct-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: use OpenSBI 1.3.1 for testing Use the most recent upstream release of OpenSBI for CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
d6b3297d |
|
23-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI: Re-enable maintainer check At this point we have all of the defconfigs maintained again, so re-enable the check to prevent further regressions. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
This contributor prefers not to receive mails <noreply@example.com> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
This contributor prefers not to receive mails <noreply@example.com> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
56ea7c8b |
|
26-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI, pytest: Add a test for sandbox without LTO The primary motivation for having a sandbox without LTO build in CI is to ensure that we don't have that option break. We now have the ability to run tests of specific options being enabled/disabled, so drop the parts of CI that build and test that configuration specifically and add a build test instead. We still test that "NO_LTO=1" rather than editing the config file works via the ftrace tests. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a966634e |
|
24-Oct-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: use OpenSBI 1.3.1 for testing Use the most recent upstream release of OpenSBI for CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
d6b3297d |
|
23-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI: Re-enable maintainer check At this point we have all of the defconfigs maintained again, so re-enable the check to prevent further regressions. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
This contributor prefers not to receive mails <noreply@example.com> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
This contributor prefers not to receive mails <noreply@example.com> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a966634e |
|
24-Oct-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: use OpenSBI 1.3.1 for testing Use the most recent upstream release of OpenSBI for CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
d6b3297d |
|
23-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI: Re-enable maintainer check At this point we have all of the defconfigs maintained again, so re-enable the check to prevent further regressions. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d6b3297d |
|
23-Oct-2023 |
Tom Rini <trini@konsulko.com> |
CI: Re-enable maintainer check At this point we have all of the defconfigs maintained again, so re-enable the check to prevent further regressions. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b93cc1e7 |
|
14-Oct-2023 |
Sean Anderson <seanga2@gmail.com> |
test: spl: Add functions to create images This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
ac897385 |
|
02-Oct-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
57c7cb66 |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add sandbox64 to CI Now that sandbox64 can run and pass the regular test.py suite, add it here as well. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c9836c0f |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Split sandbox and qemu test.py runs Currently, most sandbox runs take a long time (due to running so many tests) while QEMu based test.py runs are fairly short. Split the pipeline here so that we get more consistent average run times. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8ae5feca |
|
01-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework test_py job to publish its wrapper script Both to aide in debugging of any test.py issues as well as to make it easier to split the current matrix in two, have a new job that creates and publishes the current wrapper script we use for test.py jobs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
b87f9047 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Drop some jobs we didn't really utilize - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
562ed115 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Combine tools-only and envtools jobs These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9aeac898 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework build the world jobs Now that we have 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ddec4cae |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc4' into next Prepare v2023.10-rc4
|
#
61cad8da |
|
22-Aug-2023 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
sandbox: trace: Increase trace buffer size When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
453c3fb4 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to latest Ubuntu "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
11934281 |
|
25-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.2.0 The latest kernel.org toolchains for gcc are now 13.2.0, so upgrade to that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7e6e40c5 |
|
21-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2023.10-rc3' into next Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
48f792e3 |
|
09-Aug-2023 |
Tom Rini <trini@konsulko.com> |
CI: Switch to tools-only from sandbox_spl for tooling tests When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
493fd336 |
|
04-Sep-2023 |
Tom Rini <trini@konsulko.com> |
nokia_rx51: Remove platform This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
04f7e953 |
|
20-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Set the timeout for jobs to the maximum As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
c60e6a24 |
|
11-Aug-2023 |
Simon Glass <sjg@chromium.org> |
CI: x86: coreboot: Update to latest coreboot Use a recent coreboot build for this test. The coreboot commit is: 6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings This is build with default settings, i.e. QEMU x86 i440fx/piix4 Add some documentation as to how to update it next time. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
60c95b1a |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Squash a number of jobs and re-order slightly To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ccbc785e |
|
04-Aug-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework Rockchip jobs again The job for rockchip vendor platforms has again gotten close to or exceeded one hour. Rework things such that we move the 32bit platforms back to the general 32bit ARM job (as there's time there) and make these build only the 64bit platforms. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
1b21842e |
|
19-Jul-2023 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to check maintainers Rather than using the -R option to get this report as a side effect, add a dedicated option for it. Disable CI for now as there are some missing maintainers, unfortunately. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
f586cdae |
|
21-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make use of buildman requirements.txt Now that buildman has a requirements.txt file we need to make use of it. Reviewed-by: Simon Glass <sjg@chromium.org> [n-francis@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
58b35850 |
|
11-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Add automatic retry for test.py jobs It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
5c738b54 |
|
12-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Add excludes to the imx8_imx9 job The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8807b2e5 |
|
19-Jul-2023 |
Tom Rini <trini@konsulko.com> |
Azure: Rework our Rockchip jobs slightly Currently the 64bit "rk" job is close to and sometimes goes over the job time limit. Let us rework this in to one job for "rk" and "rv" (which are the SoC prefixes) jobs which include or exclude "rockchip" the board vendor. This gives us two jobs of similar numbers of platforms to build now instead. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b987698 |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to the latest "Jammy" tag Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
6d6ddabf |
|
13-Jul-2023 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-13.1.0 As this is the current version of the public cross toolchains we use, upgrade to this now. Suggested-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
0a8239af |
|
19-Jun-2023 |
Bin Meng <bmeng@tinylab.org> |
ci: riscv: Update OpenSBI to v1.2 Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b042cebe |
|
26-Jun-2023 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Split keymile jobs out Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> |
#
8a6414d1 |
|
01-May-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: treat documentation warnings as errors We do not want to merge documentation that produces Sphinx warnings. scripts/kernel-doc uses environment variable KDOC_WERROR to determine if warnings should be treated as errors. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a21e1123 |
|
22-Mar-2023 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
CI: Add m68k target Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as follows: $ qemu-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org> |
#
d7e0678c |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
CI: Move to clang-16 As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
8b609878 |
|
01-Apr-2023 |
Simon Glass <sjg@chromium.org> |
CI: Ensure that vpl test is run This is actually skipped at present due to the condition in the file. Fix this by running all vpl tests. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
542ae523 |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Be explicit about pytest cache directory The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
be566abd |
|
28-Feb-2023 |
Tom Rini <trini@konsulko.com> |
Azure CI: Save pytest output automatically Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e3059db9 |
|
21-Mar-2023 |
Tom Rini <trini@konsulko.com> |
Dockerfile: Update to latest "Jammy" tag Update to using the latest "Jammy" tag as our base. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c21a5286 |
|
23-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ce0f745c |
|
21-Feb-2023 |
Pali Rohár <pali@kernel.org> |
CI: Update test/nokia_rx51_test.sh to use prebuilt images Now that the Dockerfile creates images which have the binaries we require included, have CI make symlinks for them and update the existing script to support this. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
441a3d0a |
|
13-Feb-2023 |
Simon Glass <sjg@chromium.org> |
CI: Add a check for pre-schema driver model tags These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
16bf3b6f |
|
06-Feb-2023 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to Jammy 2023016 tag Move to the latest tag for "Jammy" and rebuild the containers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9cea4797 |
|
15-Jan-2023 |
Simon Glass <sjg@chromium.org> |
trace: Add a test Add a test which runs sandbox, collects a trace and makes sure it can be processed by trace-cmd. This should ensure that this feature continues to work as U-Boot and trace-cmd evolve. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a03efb6f |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI: Make check for new defined CONFIG symbols even more robust Now that all remaining in-tree cases where we define or undef a CONFIG symbol have been migrated to Kconfig or renamed to CFG we can make the CI check more robust. We will exclude the doc, tools and arch/arm/dts directories from this check as they are special cases. Further, we can exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as the CONFIG values they define are special tooling cases and not real symbols. In the case of docs, the only places that currently fail this test are old documentation that should be rewritten so that we can remove this special case. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
e9cc7029 |
|
12-Jan-2023 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: build infodocs target on Gitlab CI, Azure Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
85fd4898 |
|
10-Jan-2023 |
Tom Rini <trini@konsulko.com> |
CI/Docker: Update to jammy-20221130 tag Update to the latest "jammy" tag. This requires us to list libc6-i386 as a required package to install (for nokia_rx51 tests) that was previously implicit. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
cebdfc22 |
|
09-Jan-2023 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next' Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bb9b9c1e |
|
04-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Replace unmigrated symbol test with non-Kconfig introduction test Now that all symbols have been migrated to Kconfig, or are part of the CFG namespace we do not need a complex check for unmigrated CONFIG symbols. Any instance of #define (or #undef) or a CONFIG value is wrong, so cause CI to fail. This test is not as strict as possible yet as we have more symbols that were not previously caught to deal with. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
09ed7e62 |
|
21-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to gcc-12.2 - Update to gcc-12.2, and cherry-pick a fix in grub for risc-v Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d948c898 |
|
19-Nov-2022 |
Tom Rini <trini@konsulko.com> |
sandbox: Rework how SDL is enabled / disabled Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
478ed23e |
|
27-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Rework rockchip jobs in Azure The rockchip job is getting close to the hard time limit in Azure for the free tier. Split this in to 32bit and 64bit board jobs. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
dcb0cc01 |
|
07-Dec-2022 |
Tom Rini <trini@konsulko.com> |
CI: Reduce aarch64 catchall job matches The aarch64 catch-all job is getting close to the hard time limit in Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move amlogic entirely to its own job. This brings us down from 85 boards to 51 boards and so should be safe for a while. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
bd181a24 |
|
20-Nov-2022 |
Tom Rini <trini@konsulko.com> |
CI: Make more use of git safe.directory We have a number of jobs that will have git complain about needing to set safe.directory and this being untrue as a fatal error, but then complete. Set this flag correctly now as it should be used, and may prevent a future failure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d7713ad3 |
|
09-Nov-2022 |
Tom Rini <trini@konsulko.com> |
buildman: Add --allow-missing flag to allow missing blobs Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
17196e44 |
|
17-Oct-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update to jammy-20221003-17Oct2022 tag This includes python3-pyelftools so we can drop it from one of the tests directly. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2ce13c4 |
|
03-Oct-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
docker: install riscv32 toolchain For building riscv32 targets we should use the riscv32 toolchain. Add it to the Docker image. Drop the riscv toolchain-alias as we do not need it in future. While in here, update to the latest "jammy" tag. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> [trini: Update to latest jammy tag] Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
1aa168ca |
|
03-Aug-2022 |
Simon Glass <sjg@chromium.org> |
ci: Add a test for a non-LTO build Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b6d4e085 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Move to Ubuntu 2022.04 "Jammy" for CI base - We now have a new enough sbsigntools in the distro, stop building. - Use the 20220801 tag for Jammy. - Move to pygit2 1.9.2 (current version) as the old one doesn't build on "Jammy". - Add the working directory to the list of safe directories for git. - Move to pytest 6.2.5 to address other issues. - This move exposed a number of minor issues in the existing scripts we used within CI to perform the jobs themselves. The most notable changes here involve using 'set +e / set -e' to enforce when we should or should not make non-zero buildman status be a fatal error. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
05f958f8 |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Merge PowerPC jobs in to one At this point given the number of PowerPC platforms we have, a single job to build them all fits within the time limit we have in Azure. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
0040ed7e |
|
09-Aug-2022 |
Tom Rini <trini@konsulko.com> |
ppc: Remove corenet_ds boards These boards have been orphaned for some time and are behind on various DM migrations. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
24291741 |
|
27-Jul-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to using macOS-12 image As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b0a23a60 |
|
08-Aug-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Move to Ubuntu 22.04 image As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
7ae8a527 |
|
11-Jul-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use buildman instead of genboardscfg Use the equivalent buildman functionality to check maintainer info. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b24087ae |
|
29-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
CI: Add Aspeed AST2600 The AST2600 has a Qemu model that allows testing. Create a SPI NOR image containing the combined SPL and u-boot FIT image. Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au> |
#
eabc4e29 |
|
30-May-2022 |
Andrew Scull <ascull@google.com> |
CI: Azure: Build with ASAN enabled In order to prevent build regressions with ASAN, add the builds to CI. The longer term objective will be to enabled test targets with ASAN enabled, but there are too many at the moment. Signed-off-by: Andrew Scull <ascull@google.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f8e7670f |
|
03-May-2022 |
Tom Rini <trini@konsulko.com> |
CI: Azure: Rework how we update MSYS2 Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
a31eff30 |
|
30-Apr-2022 |
Simon Glass <sjg@chromium.org> |
CI: Run VPL tests Add tests for VPL into the mix. For now this just runs the help test and a few SPL ones. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
11232139 |
|
06-Apr-2022 |
Tom Rini <trini@konsulko.com> |
nds32: Remove the architecture As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@amd.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
239fe55a |
|
11-Apr-2022 |
Tom Rini <trini@konsulko.com> |
CI: Print out unmigrated symbols when failing To make addressing the problem of migrated symbols being present in board config header files, update the CI test to them print what symbols are causing it to fail. Also report all failures in the tree, rather than stopping at the first failing file. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
694943cf |
|
21-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Update unmigrated symbol check We need to check for config header files that #undef migrated symbols as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e47bbf7e |
|
25-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Pin pylint version to 2.12.2 For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
576eac85 |
|
11-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI: Fix unmigrated symbol test When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
17af72eb |
|
15-Mar-2022 |
Tom Rini <trini@konsulko.com> |
CI, Docker: Update to latest focal tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
642e51ad |
|
11-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab CI: Add the pylint checker Add a check that new Python code does not regress the pylint score for any module. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marex@denx.de> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d9612f44 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: allow for specifying GUID explicitly The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
16abff24 |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
tools: mkeficapsule: add firmware image signing With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, we need specify additional command parameters: -monotonic-cout <count> : monotonic count -private-key <private key file> : private key file -certificate <certificate file> : certificate file Only when all of those parameters are given, a signature will be added to a capsule file. Users are expected to maintain and increment the monotonic count at every time of the update for each firmware image. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
9ebfc6ba |
|
09-Feb-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
CI: enforce packages upgrade for Msys2 on Windows We need to install libgnutls-devel package to build the host tool, mkeficapsule, and as of now, there seems to be a depencency conflict in the current msys2 installer; :: installing libp11-kit (0.24.1-1) breaks dependency \ 'libp11-kit=0.23.22' required by p11-kit To resolve this conflict, however, the initial "pacman -Syyuu" in 'tools_only_windows' job is not enough. Another "pacman -Su" will enforce all the out-of-date packages being upgraded. (Probably the first "-Syyuu" can be changed to "-Syu".) See the installation steps in https://www.msys2.org/ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
cd59d44c |
|
03-Feb-2022 |
Tom Rini <trini@konsulko.com> |
Dockfile, CI: Update to latest focal tag and build - Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
bfb2a7fb |
|
21-Jan-2022 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: x86: Add a coreboot test Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own toolchain. It turns out that this is tricky, because coreboot fails to build with a vanilla gcc. This needs some changes to the hooks scripts as well. An example build is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
9d358a8c |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
CI, Dockerfile: Update to latest "focal" tag Bring us to the focal-20220105 tag and rebuild our images on top of this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
67d3e67d |
|
11-Jan-2022 |
Tom Rini <trini@konsulko.com> |
ci: azure: Update to use stages Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
c1a7de57 |
|
14-Dec-2021 |
Tom Rini <trini@konsulko.com> |
CI: Test for unmigrated CONFIG symbols in board config.h files Now that all symbols that exist in Kconfig no longer also have boards setting them in the board config.h file, add a CI test to catch new instances of this, and fail. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
99cffa23 |
|
13-Nov-2021 |
Tom Rini <trini@konsulko.com> |
Dockerfile, CI: Update to latest "focal" tag Signed-off-by: Tom Rini <trini@konsulko.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
38a9840d |
|
31-Oct-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Move to windows-2019 As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
e2d6a77a |
|
14-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Switch running the nokia_rx51 test with in-container toolchain Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
927e0eed |
|
05-Oct-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-13 - Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7fde64c0 |
|
30-Sep-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab CI: Update docker image Rebuild our current docker image so that ca-certificates will be updated and Let's Encrypt issued certificates will work again. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
15e30106 |
|
07-Sep-2021 |
Kristian Amlie <kristian.amlie@northern.tech> |
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio storage drivers. This significantly reduces its usefulness in testing memory card and Flash solutions, especially when the tested images are from a third party source. So therefore we reintroduce the vexpress_ca9x4 board in this commit, with the explicit goal of using it with QEMU. A number of differences to note from the original: * Since the board was apparently unmaintained, I have now set myself as the maintainer. * The board has been converted to use the driver model, which was the reason it was removed in the first place. * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed in the same commit, are not necessary for the QEMU use case, and have been omitted. * An `mmc0` alias was introduced in the dts file. The mmc is not detected correctly without this, now that it's based on the device tree instead of the board's init function. * A couple of other nodes were removed because they were problematic when trying to run the UEFI bootmgr. Once again, the primary use case here is QEMU, and these nodes are not needed for that to work. * Unnecessary board init code has been removed, thanks to driver model and device tree. * `CONFIG_OF_EMBED` has been enabled. I know this goes against recommended practice, but there doesn't seem to be any other way to pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument does not work, I suppose because U-Boot doesn't use the same mechanics as the kernel when it's booting. * Load addresses have been changed to fit QEMU use case. People wanting to get a more detailed, yet somewhat isolated, diff between this and the original, can run this command: git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD) (Make sure to either check out this commit first, or replace HEAD with the commit ID of this commit) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> |
#
20185383 |
|
10-Sep-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to latest container images - Current Ubuntu/Focal tag - QEMU 6.1.0 - genimage tool added Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
0e60b3a7 |
|
26-Aug-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab: Add tests for SiFive Unleashed board This adds CI tests for SiFive Unleashed board. QEMU supports booting exact the same images as used on the real hardware out of the box, that U-Boot SPL loads U-Boot proper from either an SD card or the SPI NOR flash, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed board. With this, now we can have regression testing of mmc-spi-slot and sifive spi drivers, as well as mmc and spi-nor subsystems. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
4a753fbc |
|
01-Aug-2021 |
Simon Glass <sjg@chromium.org> |
ppc: Drop t4qds and b4860qds references These boards have been removed. Drop the config file and other references. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
66217225 |
|
15-Jul-2021 |
Tom Rini <trini@konsulko.com> |
CI: Update to LLVM-12 The current stable release of LLVM is 12, update to that. While at it, fix that we had not correctly upgraded to LLVM 11 previously. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
5ea605ce |
|
27-Jul-2021 |
Tom Rini <trini@konsulko.com> |
AzureCI: Move i.MX8 builds to their own job The aarch64 catch-all job is starting to get close to or exceed the time limit for jobs. Move the i.MX8 boards to their own job to fix this. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
5bda1878 |
|
08-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Remove "spear" jobs With the spear family of platforms gone, remove references to them from the build jobs. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
1c58857a |
|
14-May-2021 |
Tom Rini <trini@konsulko.com> |
ppc: Remove sbc8641d board This board has not been converted to CONFIG_DM_PCI by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
7bb1cc3b |
|
02-Jul-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 - Move to gcc-11.1.0 builds from kernel.org for supported platforms and LLVM-11 for those tests. - As Heinrich has noted, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. Given this, drop grub for 32bit RISC-V as it no longer compiles with gcc-11.1 and upstream is unlikely to fix it: https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html - Update to grub-2.06 release to address other issues of building with gcc-11.1. - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b1c2102d |
|
10-Jun-2021 |
Tom Rini <trini@konsulko.com> |
Docker/CI: Update to "focal" and latest build Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu for this release. For this, we make sure that "python" is now python3 but still include python2.7 for the rx51 qemu build as that is very old and does not support python3. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
e22ec9c6 |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests The filesystem test setup needs to prepare disk images for its tests, with either guestmount or loop mounts. The former requires access to the host fuse device (added in a previous patch), the latter requires access to host loop devices. Both mounts also need additional privileges since docker's default configuration prevents the containers from mounting filesystems (for host security). Add any available loop devices to the container and try to add as few privileges as possible to run these tests, which narrow down to adding SYS_ADMIN capability and disabling apparmor confinement. However, this much still seems to be insecure enough to let malicious container processes escape as root on the host system [1]. [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ Since the mentioned tests are marked to run only on the sandbox board, add these additional devices and privileges only when testing with that. An alternative to using mounts is modifying the filesystem tests to use virt-make-fs (like some EFI tests do), but it fails to generate a partitionless FAT filesystem image on Debian systems. Other more feasible alternatives are using guestfish or directly using libguestfs Python bindings to create and populate the images, but switching the test setups to these is nontrivial and is left as future work. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1aaaf60d |
|
21-Jun-2021 |
Alper Nebi Yasak <alpernebiyasak@gmail.com> |
Azure: Add fuse device for test.py tests The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
1ce892cb |
|
21-Jun-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use msys2 20210604 installer for Windows build MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Tom Rini <trini@konsulko.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
5308a71d |
|
21-Apr-2021 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: remove deprecated qemu_mips board Remove qemu_mips boards because DM migration doesn't make sense. The board support for qemu_mips is already marked as deprecated in Qemu in favour of the Malta board. Also qemu_mips support has been removed from Linux a long time ago. The official replacement is the Malta board. The same Malta U-Boot image can be used with Qemu and on physical hardware. All combinations of Big Endian and Little Endian as well as 32 bit and 64 bit are supported. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
38229b55 |
|
26-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Ensure we use requirements.txt for testsuites Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
c6c26a05 |
|
20-Feb-2021 |
Tom Rini <trini@konsulko.com> |
arm: Remove vexpress_ca15_tc2 board This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
b6b35fd2 |
|
02-Apr-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure/GitLab: bump OpenSBI version to 0.9 Version 0.9 of OpenSBI provides the system reset extension which allows us to reset and power off boards without board specific code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
31289c7d |
|
15-Feb-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Rework SH / Renesas job Now that there is a single SuperH platform, rework the Azure job slightly. Azure build time limits mean that we need to split the world build up still. Make a single build job for the single Renesas SuperH platform as well as all of the ARM platforms from Renesas. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
1057b1be |
|
29-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Merge tag 'v2021.04-rc5' into next Prepare v2021.04-rc5
|
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6c914e42 |
|
14-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure/gitlab: Add tests for sandbox_noinst Add this new board to the test plans. Travis-CI is left out, since it is being removed soon due to lack of capacity. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
#
a0ac1d90 |
|
21-Mar-2021 |
Simon Glass <sjg@chromium.org> |
azure: Use --board flag with sandbox_spl At present there is only one board which uses sandbox SPL. But with sandbox_noinst being added, this is no longer true. Add a --board flag so that we just build one board on azure, as is done in gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
94d66d8b |
|
26-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure: Use "pacman -Sy" to install the toolchain We now see an error such as: warning: database file for 'ucrt64' does not exist (use '-Sy' to download) error: failed to prepare transaction (could not find database) So use -Sy as suggested. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6a026e56 |
|
04-Mar-2021 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Use buildman -T0 for binman, etc, test There are times where buildman seems to get stuck in this job when in CI. Forcing single-threaded here allows us to complete and move on. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com> |
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
ada61f1e |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv - Fix SiFive HiFive Unleashed board booting failure problem. - Enable SiFive fu540 PWM driver. - Support SiFive fu540: SPI boot. - Update OpenSBI used for RISC-V CI testing. - Revert "riscv: Allow use of reset drivers". - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"". - sysreset: syscon: - Don't assume default value for offset and mask property. - Support value property. - qemu: Add syscon reboot and poweroff support. - Fix SIFIVE debug serial dependency. - Fix linking error when building u-boot-spl with no SMP support. - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg. - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi - SiFive fu540 avoid using hardcoded ram base and size.
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com> |
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org> |
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com> |
#
1f47e2ac |
|
07-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.07 common: - Align ENV_FAT_INTERFACE - Fix MAC address source print log - Improve based autodetection code xilinx: - Enable netconsole Microblaze: - Setup default ENV_OFFSET/ENV_SECT_SIZE Zynq: - Multiple DT updates/fixes - Use DEVICE_TREE environment variable for DTB selection - Switch to single zynq configuration - Enable NOR flash via DM - Minor SPL print removal - Enable i2c mux driver ZynqMP: - Print multiboot register - Enable cache commands in mini mtest - Multiple DT updates/fixes - Fix firmware probing when driver is not enabled - Specify 3rd backup RAM boot mode in SPL - Add SPL support for zcu102 v1.1 and zcu111 revA - Redesign debug uart enabling and psu_init delay - Enable full u-boot run from EL3 - Enable u-boot.itb generation without ATF with U-Boot in EL3 Versal: - Enable distro default - Enable others SPI flashes - Enable systems without DDR Drivers: - Gem: - Flush memory after freeing - Handle mdio bus separately - Watchdog: - Get rid of unused global data pointer - Enable window watchdog timer - Serial: - Change reinitialization logic in zynq serial driver Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com> |
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com> |
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de> |
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com> |
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
85ae52b9 |
|
24-Feb-2021 |
Tom Rini <trini@konsulko.com> |
uboot-test-hooks: Switch to our GitLab instance As Stephen is no longer actively maintaining the uboot-test-hooks repository, switch to using the instance on our GitLab. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
aa8544e0 |
|
31-Jan-2021 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add -E back for the world build script Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") added -W to avoid warnings check, but it mistakenly dropped -E for the world build script in the azure pipelines. This caused builds on the azure pipelines fail to report warnings. Let's add it back. Fixes: dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
836049d6 |
|
25-Jan-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
.gitlab-ci: install doc/sphinx/requirements.txt Install all requirements according to doc/sphinx/requirements.txt in the virtual environment used for testing 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bd73bb44 |
|
29-Oct-2020 |
Simon Glass <sjg@chromium.org> |
azure/gitLab/travis: Add pygit2 as a dependency for tests This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
afb26ba9 |
|
25-Oct-2020 |
Simon Glass <sjg@chromium.org> |
Azure/GitLab/Travis: Add SPL unit tests Run SPL unit tests in all test environments. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0e125756 |
|
14-Sep-2020 |
Marek Vasut <marek.vasut@gmail.com> |
Azure/GitLab/Travis: Add SH4 r2dplus machine with various PCI ethernet options Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
71490773 |
|
02-Sep-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker container - New base snapshot - Fix for high UID/GID numbers on a toolchain Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
1521326b |
|
05-Aug-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Update to latest Docker image - New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
437e70f7 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Switch to use the MSYS2 official installer as the CI base Recent CI failures were seen [1] when building MSYS2 Windows host tools. The error messages are something like: downloading mingw32.db... downloading mingw32.db.sig... error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust error: failed to update mingw32 (invalid or corrupted database (PGP signature)) Per the MSYS2 official news [2], this was caused by a packager switch and several solutions were suggested, e.g.: a new package of msys2-keyring and a new msys2 installer that includes them are released. However right now we have been using the MSYS2 github CI base repo [3] for the MSYS2 build in U-Boot, but per the project information on the github webpage, it says: "This repository is unused/deprecated and will be remove after 2021-01-01". Since it is unmaintained it's unlikely the new PGP keys will be included in the git repo, and the only choice is to switch to use the MSYS2 official installer as the CI base instead. [1] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=975 [2] https://www.msys2.org/news/#2020-06-29-new-packagers [3] https://github.com/msys2/msys2-ci-base Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d126e3cd |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Add the missing build dependency for MSYS2 build Package 'flex' is needed when building the U-Boot host tool, but is currently missing in the build dependency in the CI pipeline. This is to prepare switching to an installer based CI build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f7faddf6 |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Drop 32-bit MSYS2 build As of 2020-05-17, 32-bit MSYS2 is no longer actively supported by the upstream [1]. Let's drop the 32-bit Windows host tool build. [1] https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2a306a2d |
|
28-Jul-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure: Use a login shell everywhere for MSYS2 build This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6bb74de7 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7208396b |
|
24-Jul-2020 |
Tom Rini <trini@konsulko.com> |
Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing changes made to 56d37f1c564107e27d873181d838571b7d7860e7. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
d20d0a57 |
|
19-Jul-2020 |
Bin Meng <bin.meng@windriver.com> |
azure: gitlab: travis: Update OpenSBI used for RISC-V testing Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
57374b09 |
|
05-Jul-2020 |
Simon Glass <sjg@chromium.org> |
patman: Add a 'test' subcommand At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0f5eab |
|
13-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Azure: copy GRUB to correct build path The GRUB binaries are expected in $UBOOT_TRAVIS_BUILD_DIR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
f3092473 |
|
10-Jul-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
e35c2a8f |
|
06-Jun-2020 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
.azure-pipelines.yml: add Qemu tests for MIPS Malta board Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
717e779f |
|
18-Jun-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker image - Add guestfstools, efitools - Latest Ubuntu/bionic snapshot Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
7b4116d4 |
|
26-May-2020 |
Tom Rini <trini@konsulko.com> |
Azure: Add 'tools-only' build for macOS X hosts Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
6cfd09d4 |
|
17-May-2020 |
Pali Rohár <pali@kernel.org> |
Nokia RX-51: Add automated test for running RX-51 build in qemu This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8790bee |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Switch over to using LLVM-10 At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
3bab3dca |
|
27-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Update to latest Docker image This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4ee7f527 |
|
05-Apr-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Run cppcheck in parallel This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
7ec1255c |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop repeated buildman call with test.py It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
cec1e856 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Simplify the exit code for test.py It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
e28e9db6 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Enable test_handoff Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
dd5c954e |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use -W to avoid warnings check We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 329f5ef51d2 (travis.yml: run buildman with option -E) Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4080d097 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
4e32fed4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use -w flag for all test.py builds Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
5bd95d63 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Drop unnecessary if..fi when using test.py Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
b52f5a19 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop the buildman -d flag This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
573605d4 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Drop BUILDMAN variable with test.py This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
38806650 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
travis/gitlab/azure: Use --board buildman flag with test.py The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
bf0a8133 |
|
18-Mar-2020 |
Simon Glass <sjg@chromium.org> |
gitlab/azure: Use the -w option for sandbox_spl Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
#
49fb28a4 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add RISC-V SPL testing This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
a379d330 |
|
28-Mar-2020 |
Bin Meng <bmeng.cn@gmail.com> |
azure/gitlab/travis: Add qemu-riscv32 testing This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
20bc19ab |
|
10-Apr-2020 |
Tom Rini <trini@konsulko.com> |
Azure/GitLab: Move to latest Docker images - Based on newer 'bionic' snapshot - GCC 9.0 - RISCV GRUB binaries Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
f7c6ee7f |
|
13-Feb-2020 |
Michal Simek <michal.simek@xilinx.com> |
ARM: zynq: Switch to single zynq configurations There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32d940 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
#
7261833f |
|
11-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab / Travis: Add Kconfig unit tests to a job The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
2d4cd12d |
|
09-Mar-2020 |
Tom Rini <trini@konsulko.com> |
Azure/Travis: Re-sync jobs and clarify exclusions We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
4eb0fc99 |
|
21-Feb-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
azure: build HTML documentation Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
#
15ae5000 |
|
24-Feb-2020 |
Tom Rini <trini@konsulko.com> |
Azure / GitLab: Update Docker image Bring in a newer Docker image to build on that has everything required for running 'make htmldocs'. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
26a426a1 |
|
10-Feb-2020 |
Tom Rini <trini@konsulko.com> |
travis/gitlab/azure: Ensure we use python3 always When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
96ff825d |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure/gitlab: Update to Docker to have SDL2 available Update to a newer Docker image that contains SDL2 libraries as required by recent Sandbox changes. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
6049d516 |
|
07-Feb-2020 |
Tom Rini <trini@konsulko.com> |
azure: Use our own GRUB binaries Use the same logic from 24df1b14f3ab to use our own GRUB binaries in Azure pipelines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
9e0c131a |
|
27-Jan-2020 |
Tom Rini <trini@konsulko.com> |
azure: Move to vs2017-win2016 platform build host Azure is moving to remove the vs2015-win2012r2 platform build host. The two suggested new platforms to use are vs2017-win2016 and windows-2019. For now, move up to vs2017-win2016. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
c8a11986 |
|
17-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container tag - Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
12183df6 |
|
10-Jan-2020 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Update to latest container - Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
af771625 |
|
22-Nov-2019 |
Heiko Schocher <hs@denx.de> |
travis: rework NXP layerscape jobs remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by: Heiko Schocher <hs@denx.de>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
0219d014 |
|
06-Nov-2019 |
Tom Rini <trini@konsulko.com> |
gitlab/azure: Enable LLVM tests Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
5d6f0535 |
|
01-Nov-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update the script to prepend PATH not override PATH Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
5d80a1a9 |
|
31-Oct-2019 |
Tom Rini <trini@konsulko.com> |
azure: Update for python3 and current pytest Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
bf275222 |
|
28-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Bring all testings in gitlab and travis CI to Azure Pipelines This expands current Azure Pipelines Windows host tools build testing to cover all the CI testing in gitlab and travis CI. Note for some unknown reason, the 'container' cannot be used for any jobs that have buildman, for buildman does not exit properly and hangs the job forever. As a workaround, we manually call docker to run the image to perform the CI tasks. A complete run on Azure Pipelines takes about 2 hours and 10 minutes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
#
d2e680fa |
|
27-Oct-2019 |
Bin Meng <bmeng.cn@gmail.com> |
Add Microsoft Azure Pipelines configuration Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and 10 parallel jobs to every open source project for free. This adds a configuration file for Azure Pipelines to utilize the free Windows VM hosted by Microsoft to ensure no build broken in building U-Boot host tools for Windows. [1] https://azure.microsoft.com/en-us/blog/announcing-azure-pipelines-with-unlimited-ci-cd-minutes-for-open-source/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|